package com.yale.elasticsearch.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author :yale
 * @date : 2024/8/7
 */
@Data
public class RangeQueryDTO {
    private String field;
    private String gteValue;
    private String lteValue;
    private String ltValue;
    private String gtValue;
    @NotNull(message = "索引名称不能为空")
    private String indexName;
}
